<template>
  <div>
    <div class="product-not-found">
      <p>商品不存在或已下架^-^</p>
      <p>
        <van-button type="default" size="small" @click="toHome">去逛逛</van-button>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    toHome () {
      wx.switchTab({
        url: '../home/index'
      })
    }
  }
}
</script>


<style lang="less" scoped>
.product-not-found {
  margin-top: 320rpx;
  text-align: center;
  font-size: 12px;
  p {
    color: #999;
    margin:30rpx 0;
  }
}
</style>
